If the program that you ' re testing comes with an application programmer interface ( api ) or a macro language , perhaps the function can call a single command and send it the file name and path as parameters 如果你的測試程序涉及到一個應(yīng)用編程接口( api )或宏語言,那么該函數(shù)或許能調(diào)用一個單獨的命令,并把文件名和路徑作為參數(shù)傳遞給它。